package com.code.train.service;

import com.code.train.req.StationQueryReq;
import com.code.train.req.StationSaveReq;
import com.code.train.resp.PageResp;
import com.code.train.resp.StationQueryResp;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface StationService {

    void save(StationSaveReq req);

    PageResp<StationQueryResp> queryList(StationQueryReq req);

    void delete(Long id);

    List<StationQueryResp> queryALL();
}